.root
  background-color #fff
  padding 15px 0
  box-shadow 0px 0px 6px rgba(0, 0, 0, .2)
  width 282px
  right -13px
  z-index 12
  margin-top 10px
  &:after, &:before
    bottom 100%
    right 33px
    border solid transparent
    content " "
    height 10px
    width 10px
    position absolute
    pointer-events none
  &:after
    border-color rgba(255, 255, 255, 0)
    border-bottom-color #ffffff
    border-width 8px
    margin-left -8px
    right 34px
  &:before
    border-color rgba(194, 225, 245, 0)
    border-bottom-color #ccc
    border-width 9px
    margin-left -9px

.objective-detail
  position relative

.no-data
  padding-left 25px

.loading
  position absolute
  top 12px
  left 25px

.relatives
  > div
    padding 0 10px
    h2
      font-size 16px
      color #A8B3C4
      margin-bottom 11px
  hr
    background-color #EEF2F6
    width 100%
    margin 15px 0
    height 1px
  li
    height 30px
    display flex
    align-items center
    padding 0 10px
    position relative
    justify-content center
    a
    span
      color #333
      display inline-block
      max-width 240px
      font-size 12px
      overflow hidden
      text-overflow ellipsis
      white-space nowrap
      text-align center
    a:hover
      text-decoration underline
      color #00a0f6
      opacity 1

.ancester
  li
    & + li
      margin-top 23px
    &:last-child
      margin-top 33px
      height 50px
      background-color #F3F5F9
      &::before
      &::after
        display none
    &::before
      width 6px
      height 14px
      border-bottom solid 14px #E8ECF5
      border-left solid 3px transparent
      border-right solid 3px transparent
      content ''
      position absolute
      left 50%
      top 100%
      margin-left -3px
    &::after
      width 16px
      height 9px
      border-top solid 9px #E8ECF5
      border-left solid 8px transparent
      border-right solid 8px transparent
      content ''
      position absolute
      left 50%
      top 100%
      margin-left -8px
      margin-top 14px

.detail-null
  display flex
  flex-direction column
  justify-content center
  align-items center
